/*
============================================================================
 Name		: FindMe2ndDocument.cpp
 Author	  : Ignacio Lopez
 Copyright   : GPL
 Description : CFindMe2ndDocument implementation
============================================================================
*/

// INCLUDE FILES
#include "FindMe2ndDocument.h"
#include "FindMe2ndAppui.h"

// ================= MEMBER FUNCTIONS =======================

// constructor
CFindMe2ndDocument::CFindMe2ndDocument(CEikApplication& aApp)
: CAknDocument(aApp)
	{
	}

// destructor
CFindMe2ndDocument::~CFindMe2ndDocument()
	{
	}

// EPOC default constructor can leave.
void CFindMe2ndDocument::ConstructL()
	{
	}

// Two-phased constructor.
CFindMe2ndDocument* CFindMe2ndDocument::NewL(
		CEikApplication& aApp)	 // CFindMe2ndApp reference
	{
	CFindMe2ndDocument* self = new (ELeave) CFindMe2ndDocument( aApp );
	CleanupStack::PushL( self );
	self->ConstructL();
	CleanupStack::Pop();

	return self;
	}

// ----------------------------------------------------
// CFindMe2ndDocument::CreateAppUiL()
// constructs CFindMe2ndAppUi
// ----------------------------------------------------
//
CEikAppUi* CFindMe2ndDocument::CreateAppUiL()
	{
	return new (ELeave) CFindMe2ndAppUi;
	}


